package com.zhentao.service;

import com.zhentao.model.common.business.dto.BusinessLoginDto;
import com.zhentao.model.common.business.dto.BusinessRegisterDto;
import com.zhentao.model.common.business.dto.BusinessUserDto;
import com.zhentao.model.common.business.pojo.BusinessUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.common.dtos.ResponseResult;

/**
* @author 贾晓婷
* @description 针对表【business_user】的数据库操作Service
* @createDate 2024-09-14 09:00:10
*/
public interface BusinessUserService extends IService<BusinessUser> {
    /**
     * 商家登录
     * @param dto
     * @return
     */

    ResponseResult login(BusinessLoginDto dto);

    /**
     * 商家注册
     * @param dto
     * @return
     */
    ResponseResult register(BusinessRegisterDto dto);


    /**
     * 商家账号信息列表
     * @param businessUserDto
     * @return
     */
    ResponseResult selBusinessUser(BusinessUserDto businessUserDto);
}
